package com.zzyl.nursing.service;

import java.util.List;

import com.zzyl.common.core.page.TableDataInfo;
import com.zzyl.nursing.domain.DeviceData;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.dto.DeviceDataPageReqDto;
import com.zzyl.nursing.mq.vo.IotMsgNotifyData;

/**
 * dataService接口
 * 
 * @author alexis
 * @date 2025-11-11
 */
public interface IDeviceDataService extends IService<DeviceData>
{
    /**
     * 查询data
     * 
     * @param id data主键
     * @return data
     */
    public DeviceData selectDeviceDataById(Long id);

    /**
     * 查询data列表
     *
     * @param deviceData data
     * @return data集合
     */
    public TableDataInfo selectDeviceDataList(DeviceDataPageReqDto deviceDataPageReqDto);

    /**
     * 新增data
     * 
     * @param deviceData data
     * @return 结果
     */
    public int insertDeviceData(DeviceData deviceData);

    /**
     * 修改data
     * 
     * @param deviceData data
     * @return 结果
     */
    public int updateDeviceData(DeviceData deviceData);

    /**
     * 批量删除data
     * 
     * @param ids 需要删除的data主键集合
     * @return 结果
     */
    public int deleteDeviceDataByIds(Long[] ids);

    /**
     * 删除data信息
     * 
     * @param id data主键
     * @return 结果
     */
    public int deleteDeviceDataById(Long id);


    public void batchSaveDeviceDate(IotMsgNotifyData iotMsgNotifyData);
}
